package com.googlecode.spoluyan.google.googleapisdiscovery.data;

import java.net.URL;
import java.util.List;
import java.util.Map;

import com.googlecode.spoluyan.google.common.AbstractJSONClass;

public class Method extends AbstractJSONClass {
    private static final long serialVersionUID = -7332337305250139898L;

    private String id;
    private String path;
    private String httpMethod;
    private String description;
    private Map<String, Schema> parameters;
    private List<String> parameterOrder;
    private RequestOrResponse request;
    private RequestOrResponse response;
    private List<URL> scopes;
    private MediaUpload mediaUpload;

    public static long getSerialversionuid() {
	return serialVersionUID;
    }

    public String getId() {
	return id;
    }

    public String getPath() {
	return path;
    }

    public String getHttpMethod() {
	return httpMethod;
    }

    public String getDescription() {
	return description;
    }

    public Map<String, Schema> getParameters() {
	return parameters;
    }

    public List<String> getParameterOrder() {
	return parameterOrder;
    }

    public RequestOrResponse getRequest() {
	return request;
    }

    public RequestOrResponse getResponse() {
	return response;
    }

    public List<URL> getScopes() {
	return scopes;
    }

    public MediaUpload getMediaUpload() {
	return mediaUpload;
    }

    public void setId(String id) {
	this.id = id;
    }

    public void setPath(String path) {
	this.path = path;
    }

    public void setHttpMethod(String httpMethod) {
	this.httpMethod = httpMethod;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public void setParameters(Map<String, Schema> parameters) {
	this.parameters = parameters;
    }

    public void setParameterOrder(List<String> parameterOrder) {
	this.parameterOrder = parameterOrder;
    }

    public void setRequest(RequestOrResponse request) {
	this.request = request;
    }

    public void setResponse(RequestOrResponse response) {
	this.response = response;
    }

    public void setScopes(List<URL> scopes) {
	this.scopes = scopes;
    }

    public void setMediaUpload(MediaUpload mediaUpload) {
	this.mediaUpload = mediaUpload;
    }
}
